package com.xingkeduo.pojo.table;

import com.xingkeduo.util.pojo.base.BaseTable;
import org.apache.ibatis.type.Alias;

/**
 * 用户登录表
 *
 * @author gaozifeng
 * @time 2019年3月18日13:48:11
 * @description
 */
@Alias("CraftsmanLoginHistory")
public class CraftsmanLoginHistoryTO extends BaseTable<CraftsmanLoginHistoryTO> {

    private String login;

    private String password;

    private String type;

    public CraftsmanLoginHistoryTO(){
    }

    public CraftsmanLoginHistoryTO(String login,String password,String type){
        this.login=login;
        this.password=password ==null ?"":password;
        this.type=type;
    }


    public String getLogin() {
        return login;
    }

    public CraftsmanLoginHistoryTO setLogin(String login) {
        this.login = login;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public CraftsmanLoginHistoryTO setPassword(String password) {
        this.password = password;
        return this;
    }

    public String getType() {
        return type;
    }

    public CraftsmanLoginHistoryTO setType(String type) {
        this.type = type;
        return this;
    }
}
